export default [
  {
    path: '/mall', //首页
    name: "mall",
    component(resolve) {
      require.ensure(['../views/mall/index.vue'], () => {
        resolve(require('../views/mall/index.vue'));
      });
    }
  },
  {
    path: '/', //首页
    redirect: '/mall',
    component(resolve) {
      require.ensure(['../views/mall/index.vue'], () => {
        resolve(require('../views/mall/index.vue'));
      });
    }
  },
]

